package com.atguigu.day02;

public class Test6 {

    public static void main(String[] args) {
        int hours = 89;
        int day = hours / 24;//3
        int hour = hours % 24;//17
        System.out.println("为抵抗洪水,战士连续作战89小时:\n" + hours + "是" + day + "天" + hour + "小时");
    }
}
